#include<bits/stdc++.h>
using namespace std;
int n;
vector<int> v;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w+",stdout);
    cin>>n;
    for(int i=0;i<n;i++){
        int d;
        scanf("%d",&d);
        v.emplace_back(d);

    }stable_sort(v.begin(),v.end());
    int ans=0,last=0,same_num=0;
    for(int i=0;i<v.size();i++){
        if(v[i]==last)same_num++;
        else same_num=1;
        if(same_num>ans)ans=same_num;
        last=v[i];
    }
    cout<<ans<<endl;
    fclose(stdin);
    fclose(stdout);
    return 0;

}